package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.OrderDDT;
import com.ruoyi.system.domain.OrderT;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderService extends IService<OrderDDT> {

    Integer insertOrder(OrderT order);

    List<OrderT> getAll(Integer userId);

    OrderT getAllById(Integer userId, Integer orderId);
}
